import { EventTypes } from '@boticord/analytics/event-types.enum'
import { NotifyWebhookSettingsDto } from '@boticord/notify-client/dto/notify-webhook-settings.dto'

export class NotifyMessageDto {
  declare id: string // affected resource id
  declare type: EventTypes // event type (notifiableEvents)
  declare payload?: any // any extracted data
  declare user?: string // user that caused the event (id)
  declare happened: number // event timestamp
  declare webhookSettings?: NotifyWebhookSettingsDto // webhook settings
}
